<if condition="$_GET['display'] eq 'main'">
<if condition="$group_list">
<h2>
	<php>if ($next_page != $now_page) {</php>
	<span class="right fn">
		<a href="javascript:;" onclick="change_interesting_group({$next_page})" class="f12px">换一换</a>
	</span>
	<php>}</php>
	可能感兴趣的群
</h2>
<ul class="glist">
<volist name="group_list" id="group">  
			<li <if condition="$i%2 eq 1">class="marRt8"</if>>
              <div class="group_pic">
                <a href="{:U('group/Group/index', array('gid'=>$group['id']))}">
                  <img alt="群头像" title="{$group['name']}" src="__ROOT__/thumb.php?w=60&h=60&t=f&url={$group['logo']|get_photo_url}" />
                </a>
              </div>
              <div class="g_info">
                <p><span class="right alR">
                <a class="btn_shenqing" href="javascript:;" onclick="join_interesting_group('{$group['id']}', this, '{$now_page}')"><span class="addnew">+</span>加入该群</a>
              </span><a class="fB" href="{:U('group/Group/index', array('gid'=>$group['id']))}" target="_blank">{$group['name']}</a></p>
                <p class="gray6">成员：{$group['membercount']}</p>
                <p class="gray9"><if condition="$group['reason']">{$group['reason']}<else />与你有共同标签</if></p>
              </div>              
            </li>
</volist>
</ul>
</if>
<elseif condition="$_GET['display'] eq 'right'" />
<if condition="$group_list">
<h2>
	<php>if ($next_page != $now_page) {</php>
	<span class="right fn 12px">
		<a href="javascript:;" onclick="change_interesting_group({$next_page})" class="f12px">换一换</a>
	</span>
	<php>}</php>
	可能感兴趣的群
</h2>
<volist name="group_list" id="group">  
<ul>
			<li style="height:70px;">
              <div class="userPic">
                <a href="{:U('group/Group/index', array('gid'=>$group['id']))}">
                  <img alt="群头像" title="{$group['name']}" src="__ROOT__/thumb.php?w=50&h=50&t=f&url={$group['logo']|get_photo_url}" />
                </a>
              </div>
              <div style="margin-left:60px">
                <h3><a href="{:U('group/Group/index', array('gid'=>$group['id']))}" target="_blank">{$group['name']}</a></h3>
                <p>成员：{$group['membercount']}</p>
          		<p class="cGray2">{$group['ctime']|friendlyDate}</p>
              </div>
              
            </li>
</volist>
</if>
</if>
